package br.fagoc.easyds.cell;

import com.mxgraph.model.mxCell;
import com.mxgraph.model.mxICell;

public class EDSEdge {
	private mxICell edge;
	private mxCell source;
	private mxCell target;
	
	public EDSEdge(mxICell aresta, mxCell source, mxCell target) {
		this.edge = aresta;
		this.source = source;
		this.target = target;
	}
	
	public mxICell getGraphEdge() {
		return edge;
	}
	public void setEdge(mxICell edge) {
		this.edge = edge;
	}
	public mxCell getCelulaOrigem() {
		return source;
	}
	public void setCelulaOrigem(mxCell celulaOrigem) {
		this.source = celulaOrigem;
	}
	public mxCell getCelulaDestino() {
		return target;
	}
	public void setCelulaDestino(mxCell celulaDestino) {
		this.target = celulaDestino;
	}
	
}
